const errorMsg = {
  PermissionDenied: "合约拒绝此操作，请检查填写的参数和账号状态是否有误",
};

const TradeStatus = {
  0: "未受理",
  1: "待审核",
  2: "启用",
  3: "禁用",
};

const Role2Name = {
  0: "账号未启用",
  1: "管理员",
  2: "原料商",
  3: "农户",
  4: "运输公司",
  5: "客户"
};

const key2Name={
  cropCycleInfo,
}

const cropCycleInfo={
  seedlingCycle:'播种周期',
  irrigationCycle:'灌溉周期',
  fertilizationCycle:"施肥周期",
  weedingCycle:'除草周期'
}

const productInfoFormatter={
  goodsId:'产品Id',
  name:'产品名',
  cropId:'原农产品Id',
  owner:'负责人'
}

export { errorMsg, Role2Name, TradeStatus, key2Name, productInfoFormatter };
